package com.jiashihui.schema_lgorithm.schema.adapter;

/**
 * @author jiashihui
 * @describe: 插座适配器（可以适配德标插座）
 * @date 2019/03/14
 */
public class SocketAdapterImpl implements DBSocket {

    /* 符合国标的插座 */
    private GBSocket gbSocket;

    public SocketAdapterImpl() {
    }

    public SocketAdapterImpl(GBSocket gbSocket) {
        this.gbSocket = gbSocket;
    }

    @Override
    public void powerWithTwoRound() {
        gbSocket.powerWithThreeFlat();
    }
}
